/**
 * Title : jFamilyTree
 * Description: jFamilyTree
 * About: Designed and rewritten by Andreas Lundgren, based on the Treebolic application suite
 * Copyright:	(c) 2001-2008
 * Terms of use:see license agreement at http://treebolic.sourceforge.net/en/license.htm
 * Author: Bernard Bou
 * Company: bsys
 */
package jFamilyTree.model.graph;

/**
 * Mutable graph
 * 
 * @author Bernard Bou
 */
public class MutableGraph extends Graph
{
	/**
	 * Add node.
	 * 
	 * @param thisNode
	 *        the node to add.
	 */
	public void add(GraphNode thisNode)
	{
		theNodes.add(thisNode);
	}

	/**
	 * Add edge.
	 * 
	 * @param thisEdge
	 *        the edge to add.
	 */
	public void add(GraphEdge thisEdge)
	{
		theEdges.add(thisEdge);
	}
}
